import http from '../utils/http.js';

export function login(params) {
  return http.post('/user/login',  params)
}
//修改密码
export function update(params) {
  return http.post('/user/update',params)
}
//获取验证码
export function getSms() {
  return http.get('/user/sms')
}
export function register(params) {
  return http.post('/user/register',  params)
}
export function yzmLogin(params) {
  return http.post('/user/yzmLogin',  params)
}

